﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Microsoft.AspNetCore.DataProtection.KeyManagement;
using Microsoft.AspNetCore.Http.HttpResults;

using OfficialWeb.Core;

using SqlSugar;

namespace OOS.Core.Record
{
    /// <summary>
    /// 日志管理
    /// </summary>
    [SugarTable("record_basic")]
    public class RecordBasic: IdBase
    {
        /// <summary>
        /// 用户id
        /// </summary>
        [SugarColumn(ColumnName = "user_id")]
        public int UserId { get; set; }
        /// <summary>
        /// 登录账号(手机号)
        /// </summary>
        [SugarColumn(ColumnName = "login_account")]
        public String loginAccount { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "create_date")]
        public DateTime CreateDate { get; set; }
        /// <summary>
        /// 请求类型
        /// </summary>
        [SugarColumn(ColumnName = "request_type")]
        public String RequestType { get; set; }
        /// <summary>
        /// 请求方法
        /// </summary>
        [SugarColumn(ColumnName = "request_method")]
        public String RequestMethod { get; set; }
    }
}
